package com.miplus.ccrm.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.github.yulichang.base.MPJBaseService;
import com.miplus.ccrm.admin.controller.vo.*;
import com.miplus.ccrm.admin.pojo.SysRole;
import com.miplus.ccrm.common.CmdResVo;

import java.util.List;

/**
* @author pc
* @description 针对表【sys_role(系统角色表)】的数据库操作Service
* @createDate 2024-03-04 09:30:12
*/
public interface SysRoleService extends MPJBaseService<SysRole> {
    List<NamesResVo> roleSelectList(String $usrid);

    IPage<RoleInfoResVo> roleList(RoleInfoReqVo paras);

    CmdResVo updateStatus(RoleReqVo paras);

    CmdResVo updateRole(RoleEditReqVo paras);

    CmdResVo insertRole(RoleEditReqVo paras);

    CmdResVo deleteRole(String roleid);

    List<PermissionIdResVo> rolePermission(String roleid);

    List<String> roleGroup(String roleid);
}
